package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.PledgeTaskActivationCondition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;


@Data
public class AdminPledgeTaskDetailsVO {

    @ApiModelProperty("任务封面")
    private String pledgeTaskCoverImage;

    @ApiModelProperty("质押任务名称")
    private String pledgeTaskName;

    @ApiModelProperty("质押任务开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pledgeTaskBeginTime;

    @ApiModelProperty("质押任务结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pledgeTaskEndTime;

    @ApiModelProperty("标签 用逗号分隔 列:标签1,标签2,标签3")
    private String label;

    @ApiModelProperty("是否可以重复质押  false:否 true:是")
    private Boolean isRepeatedly;

    @ApiModelProperty("参加人数")
    private Integer joinCount;

    @ApiModelProperty("真实参加人数")
    private Integer realJoinCount;

    @ApiModelProperty("激活条件  HOLD_SIMULTANEOUSLY:同时持有 HOLD_AT_WILL:持有任意")
    private PledgeTaskActivationCondition activationCondition;

    @ApiModelProperty("秘境详情图片")
    private String secretDetailsUrl;



    @ApiModelProperty("激活NFT列表")
    private List<AdminPledgeTaskVigorousCollectionDetailsVO> vigorousCollectionList;


    @ApiModelProperty("质押NFT列表")
    private List<AdminPledgeTaskCollectionVO> pledgeTaskCollectionList;
}
